/*
1、动态实例
2、挂载到Vue下
3、层级11111
 */
<template>
  <div class="rx-dialog_wrapper">
    <button @click="resolve">确定</button>
    <button @click="resolve">确定</button>

    <button @click="reject">取消</button>
    <button @click="reject">取消</button>
  </div>
</template>
<script>
export default {
  name:'rx-dialog',
  methods:{
    resolve(){
      this.$emit('resolve')
    },
    reject(){
      this.$emit('reject')
    }
  }
}
</script>


